package Class.senior.demo02;

import java.util.Scanner;

public class BankTest {
    public static void main(String[] args) {
        Bank bank1 = new Bank();
        Bank bank2 = new Bank();
        Bank bank3 = new Bank();
        Bank.interestRate = 3.2;
        Bank.minBalance = 1000;
        Scanner scanner = new Scanner(System.in);

        bank1.setAccountNumber(scanner.nextLong());
        bank1.setPassword(scanner.nextInt());
        bank1.setBalance(scanner.nextDouble());

        System.out.println("bank1的账号" + bank1.getAccountNumber());
        System.out.println("bank1的密码" + bank1.getPassword());
        System.out.println("bank1的存款余额" + bank1.getBalance());
        System.out.println("bank1的利率" + Bank.interestRate);
        System.out.println("bank1的最小余额" + Bank.minBalance);
    }
}
